package com.gk.javaservice.service.impl;

import com.gk.javaservice.dao.DelFileLogDao;
import com.gk.javaservice.po.DelFileLog;
import com.gk.javaservice.service.DelFileLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DelFileLogServiceImpl implements DelFileLogService {
    @Autowired
    private DelFileLogDao delFileLogDao;
    @Override
    public void add(DelFileLog delFileLog) {
        delFileLogDao.add(delFileLog);
    }

    @Override
    public Integer update(DelFileLog delFileLog) {
        return delFileLogDao.update(delFileLog);
    }

    @Override
    public Integer delete(Object id) {
        return delFileLogDao.delete(id);
    }

    @Override
    public List<DelFileLog> hasAll() {
        return delFileLogDao.hasAll();
    }

    @Override
    public DelFileLog hasById(Object id) {
        return delFileLogDao.hasById(id);
    }
}
